what is the difference between find and filter method in javascript